package com.gqb.spring.bean;



import com.gqb.annotation.Component;
import com.gqb.annotation.Value;
import com.gqb.spring.framework.InitializingBean;

@Component
public class BeanB implements InitializingBean {
	@Value("studentB")
	private String title;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public void afterPropertiesSet() throws Exception {
		System.out.println("閫氳繃缁ф壙 InitializingBean 鎺ュ彛瀹炵幇 鍒濆鍖�");
	}
}
